﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ItemMemberEdit.aspx.cs" Inherits="SysManage.Module.Grassroots.ItemMemberEdit" %>


<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
    <style>
        .photo {
            width:120px;
            height: 145px;
            line-height: 150px;
            overflow: hidden;
        }
 
            .photo img {
                 width:120px;
                height: 150px;
                vertical-align: middle;
            }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server">
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="Form2" Icon="SystemSaveClose"
                            OnClick="btnSaveClose_Click" runat="server" Text="保存并关闭">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                            Text="关闭">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
            <Items>
                <f:Form BodyPadding="10px" ID="Form2" Width="520"
                    runat="server" Title="" ShowBorder="false" ShowHeader="false">
                    <Rows>

                        <f:FormRow>
                            <Items>
                                <f:Label ID="txtItemName" runat="server" LabelAlign="right" Label="所属小组">
                                </f:Label>
                            </Items>
                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:TriggerBoxPicker Label="成员" LabelAlign="right"
                                    runat="server" ID="ppMember"
                                    EnableTrigger1PostBack="false" ShowTrigger1="true"
                                    ShowTrigger2="true" Trigger1Icon="Clear"
                                    EnableEdit="false" WindinsTitle="选择成员"
                                    WindinsHeight="400px" Required="true" ShowRedStar="true"
                                    WindinsWidth="600px" WindinsUrl="../../../Share/Picker/MemberSinglePicker.aspx">
                                </f:TriggerBoxPicker>
                            </Items>
                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:TextBox ID="txtPost" runat="server" LabelAlign="right" Label="职务" Required="true" ShowRedStar="true">
                                </f:TextBox>
                            </Items>
                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:TextBox ID="txtMobileNo" runat="server" LabelAlign="right" Label="电话" Required="true" ShowRedStar="true">
                                </f:TextBox>
                            </Items>
                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:DropDownList ID="ddlCategory" LabelAlign="right"
                                    runat="server" Label="职责" Required="true" ShowRedStar="true" AutoSelectFirstItem="false" EmptyText="==请选择==">
                                </f:DropDownList>
                            </Items>
                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:NumberBox ID="txtOrderNo" Required="true" ShowRedStar="true" runat="server" LabelAlign="right" Label="序号">
                                </f:NumberBox>
                            </Items>
                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:Image ID="imgPhoto" CssClass="photo"
                                     ImageUrl="~/Content/icon/blank1.png" Label="头像" ShowEmptyLabel="true" LabelAlign="right"  runat="server">
                                </f:Image>
                               
                            </Items>
                        </f:FormRow>
                         <f:FormRow>
                            <Items>
                                 <f:FileUpload runat="server" ID="filePhoto" ShowRedStar="false" ShowEmptyLabel="true"
                                    ButtonText="上传个人头像" ButtonOnly="true" Required="false" ButtonIcon="ImageAdd"
                                    AutoPostBack="true" OnFileSelected="filePhoto_FileSelected">
                                </f:FileUpload>
                                 </Items>
                        </f:FormRow>
                    </Rows>
                </f:Form>
                 <f:HiddenField Text="" ID="hdFileId" runat="server"></f:HiddenField>
            </Items>
        </f:Panel>
    </form>
</body>
</html>
